package com.clown.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.clown.core.JedisClusterUtils;
import com.clown.util.RedisLoadRepository;

@Configuration
/*@PropertySource(value = { "classpath:config/remote-db.properties", "classpath:config/remote-dubbo.properties",
		"classpath:config/remote-redis.properties" })
@ImportResource({ "classpath:dubbo/*.xml" })  */
public class PropertiesConfig {
	
	@Bean
	public JedisClusterUtils jedisClusterUtils() {
		return new JedisClusterUtils();
	}
	
	@Bean(initMethod="init")
	public RedisLoadRepository supplierInfoServiceRepository(){
		return new RedisLoadRepository();
		
	}
}
